import './assets/main.scss'
import persist from 'pinia-plugin-persistedstate'
import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
// 引入mock
import '../mock'
const app = createApp(App)

app.use(createPinia().use(persist))
app.use(router)
app.config.globalProperties.name = '学前端'
app.mount('#app')
